import req from "@/utils/request.js"; // 管理端
// 获取用户角色列表
export const getAdminList = data => {
	return req({
		url: "center/role_list",
		method: "get",
		data
	})
}
// 进入管理页面
export const managerPrimary = data => {
	return req({
		url: "dashboard/primary",
		method: "get",
		data
	})
}
// 管理首页菜单
export const managerHomeMenu = data => {
	return req({
		url: "dashboard/homeMenu",
		method: "get",
		data
	})
}
// 分区经理门店列表
export const managerStore = () => {
	return req({
		url: "dashboard/store/list",
		method: "get",
	})
}
// 门店选择
export const managerStoreSelect = data => {
	return req({
		url: "dashboard/secondary",
		method: "get",
		data
	})
}